package com.example.service;

import com.example.pojo.News;

import java.util.List;

public interface NewsService {
    List<News> list();

    void add(News news);

    void deleteById(Integer newsId);

    void uploadPic(String path);

    String[] picsList();

    void deletePic();
}
